{{define "user_set"}}
    {{template "layout/header"}}
    {{template "layout/left" .Auth}}
    <div class="main-wrapper">
        <section class="cta-section theme-bg-light">
            <div class="container text-center">
                <h3 class="d-none d-sm-block pt-5"> Welcome to my blog
                    <small class="d-block">不积跬步，无以至千里；</small>
                    <small class="d-block">不积小流，无以成江海。</small>
                </h3>
                <h4 class="d-block pt-3 d-sm-none font-weight-bold">
                    <small class="d-block">不积跬步，无以至千里；</small>
                    <small class="d-block">不积小流，无以成江海。</small>
                </h4>
            </div>
        </section>
        <section class="blog-list px-3 py-5 p-md-5">
            <div class="container">
                <div class="p-3 shadow-lg">
                    <div class="col-md-12 col-sm-12" style="position: relative;left: 200px;">
                        <form class="" action="" enctype="multipart/form-data" method="post" >
                            <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="id" value="{{.User.ID}}" style="display: none;">
                            <div class="field item form-group">
                                <label class="col-form-label col-md-3 col-sm-3  label-align">昵称:</label>
                                <div class="col-md-6 col-sm-6">
                                    <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="userName" value="{{.User.Name}}">
                                </div>
                            </div>   
                            <div class="field item form-group">
                                <label class="col-form-label col-md-3 col-sm-3  label-align">email:</label>
                                <div class="col-md-6 col-sm-6">
                                    <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="email" value="{{.User.Email}}" >
                                </div>
                            </div> 

                            <div class="field item form-group">
                                <label class="col-form-label col-md-3 col-sm-3  label-align">职业:</label>
                                <div class="col-md-6 col-sm-6">
                                    <input class="form-control" data-validate-length-range="6" data-validate-words="2" name="profession" value="{{.User.Profession}}" >
                                </div>
                            </div>    
                            <div class="col-md-6 offset-md-3" style="position: relative;left: -100px;">
                                <button type="submit" class="btn btn-primary">修改</button>
                                <button type="reset" class="btn btn-success">重置</button>
                            </div>
                                
                                    
                          
                           
                        </form>
                    </div>
                </div>
            </div>
        </section>
    </div>
    {{template "layout/footer"}}
{{end}}